package com.yuanfeng.userms.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.userms.dto.RegisterSellerDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName UserRongyunInfoController
 * @Description
 * @Author hyq
 * @Date 2023/8/3 13:46
 * @Version 1.0
 **/
@RestController
@RequestMapping("user/rongyunInfo")
public class UserRongyunInfoController extends BaseController{

    /**
     * 卖家融云注册 用户通过shopId获取userId
	 * @param param
	 * @return
             */
    @PostMapping("/get/seller/registerUser")
    public ResponseResult registerUserSeller(@RequestBody RegisterSellerDTO param) throws Exception {
        ResponseResult result=userRongyunInfoService.registerUserSeller(param);
        return result;
    }
}
